from selenium import webdriver
from selenium.webdriver.common.by import By

if __name__ == '__main__':
    from selenium import webdriver
    driver = webdriver.Chrome()
    driver.get("https://www.baidu.com")
    input_elem = driver.find_element(By.ID, "kw")
    input_elem.send_keys("湖南农业大学 符鹏")
    button_elem = driver.find_element(By.ID, "su")
    button_elem.click()
